hostname
Get hostname. Compatible with windows and unix.
Document
Usage
Add dependency to Cargo.toml
[]
= "^0.1"
In your main.rs
or lib.rs
:
extern crate hostname;
Examples
use get_hostname;
assert!;
License
hostname is primarily distributed under the terms of the MIT license. See LICENSE for details.